




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css"></link>
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen"></link>
<link href="css/sticky-footer-navbar.css" rel="stylesheet"> </link>
<link href="css/custom.css" rel="stylesheet"> </link>
<link rel="stylesheet" href="signin.css"> </link>
<link rel="stylesheet" href="css/bootstrap.css" />
<link rel="stylesheet" href="css/bootstrap-responsive.css" />
<link rel="stylesheet" href="css/custom.css" />
<link rel="shortcut icon" href="<?php echo base_url().'images/logo.png';?>" />





<title>Ecoopratio</title>

</head>

<body>

<div id="login_box">	
<div class="container login">
<div class="row ">

	
<p>
	
<a href="https://plus.google.com/114234709294906719311" target="_blank"><img src="images/eco.jpg" alt="ecoopratio" class="img-thumbnail" style="float:center" </img></a>
</p>
<div id="login=body" style="width:1000px;margin:0 auto;">

<div style="float:left;width:700px;max-height:280px>
<div class="row ">
<img src="images/gkbi2.jpg" alt="ecoopratio" class="img-thumbnail" </img></div>



<div style="float:right;width:300px;padding:10px 20px 10px 20px;min-height:305px;border:1px solid #e5e5e5;background-color:#f5f5f5">
<div class="container login">
	<div class="row ">
			<?php
		$attributes = array('name' => 'login_form', 'id' => 'login_form');
		echo form_open('login/process_login', $attributes);
	?>
	<?php 
			$message = $this->session->flashdata('message');
			echo $message == '' ? '' : '<p id="message">' . $message . '</p>';
		?>	
			
		<p>
		 <div class="col-xs-2">
			<label for="user_name">Username:</label> </p>
			<p>
			<input type="text" name="user_name" size="20" class="form-control" value="<?php echo set_value('user_name');?>"/>			
		
		<?php echo form_error('user_name', '<p class="field_error">', '</p>');?>
		</p>
		
	
	
		<p>
		
			<label for="password">Password:</label></p>
			<p>
			<input type="password" name="password" size="20" class="form-control" value="<?php echo set_value('password');?>"/>			
		</p>
		<?php echo form_error('password', '<p class="field_error">', '</p>');?>
			
			
		<p>
		
		<label  for="id_cabang">login sebagai:</label>
		
		</p>
		<p>
		<?php // Data Cabang
			$cabang = $this->Cabang_model->get_cabang()->result();
			foreach($cabang as $row)
			{
				$options_cabang[$row->id_cabang] = $row->cabang;
			} ?>
			
        <?php echo form_dropdown('id_cabang', $options_cabang, isset($default['id_cabang']) ? $default['id_cabang'] : ''); ?>
	</p>
	<?php echo form_error('id_cabang', '<p class="field_error">', '</p>');?>
		
		
		
			<input type="submit" class="btn btn-primary" name="submit" id="submit" value="Login" />
			

</div>	
</div>	
</div>
</div>

</div>



<div class = "container">
<p>
<small></small>
</p>
</div>


 
<div class="navbar navbar-inverse navbar-fixed-bottom navbar-min">
<div class="navbar-inner">
<div class="container">
<small>&copy; 2013 - ecoopratio</small>
</div>                
</div>            
</div>
<footer class="footer"></footer>




</body>
</div>
</html>